package com.xian.git_xian.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Xian {
    private int id;
    private String name;
    private int age;
    private String sex;

    public void show(){
    System.out.println(this.name);
    }

    public void showAge(){
        System.out.println(this.age);
    }

    public void showSex(){
        System.out.println(this.sex);
    }

    public void showId(){
    System.out.println(this.id);
    }

    public void sayHi2(){
    System.out.println("hi2233");
    }

    public void sayHi(){
        System.out.println("hiss");
    }
}
